<h1>二维数组</h1>
<?php
// 二维数组:
$cars = array(
  array("Volvo", 100, 96),
  array("BMW", 60, 59),
  array("Toyota", 110, 100)
);
print_r($cars);
?>

<h1>多维数组</h1>
<?php
$sites = array(
  "runoob" => array(
    "菜鸟教程",
    "http://www.runoob.com"
  ),
  "google" => array(
    "Google 搜索",
    "http://www.google.com"
  ),
  "taobao" => array(
    "淘宝",
    "http://www.taobao.com"
  )
);
print("<pre>"); // 格式化输出数组
print_r($sites);
print("</pre>");
echo $sites['runoob'][0].'地址为'.$sites['runoob'][1]
?>